* {
    padding: 0;
    margin: 0;
}
ul,
li {
    list-style: none;
}
a {
    text-decoration: none;
    color: rgb(90, 83, 83);
}
input,
button {
    border-style: none;
    outline: none;
}
.all {
    width: 100%;
    background-color: rgb(44, 42, 44);
    
    header {
        position: fixed;
        margin-top: 50px;
        .leftbox {
            margin-left: 55px;
            h3 {
                font-size: 15px;
                color: cornsilk;
                margin-left: -10px;
            }
            img {
                margin-top: 10px;
                width: 40px;
                height: 40px;
                //    color: cornsilk;
            }
        }

        .title {
            width: 150px;
            // height: 300px;
            background-color: rgba(245, 225, 248,.2);
            border-radius: 20px 20px;
            // display: none;
            text-align: center;
            img {
                width: 100px;
                height: 100px;
                margin-top: 10px;
                // margin-left: 25px;
                border-radius: 30px 30px;
            }
            p {
                color: rgb(223, 202, 223);
                margin-top: 10px;
                // margin-bottom: 10px;
                font-size: 18px;
            }
            button {
                width: 60px;
                height: 30px;
                margin-top: 10px;
                margin-bottom: 20px;
                border-radius: 20px 20px;
                color: rgb(43, 42, 40);
                background-color: rgb(255, 220, 249);
            }
        }
        
    }
    .container {
        position: relative;
        width: 1200px;
        margin: auto auto;
        background-color: rgb(248, 223, 229);
        
       
        //回到头部
        .backTop {
            float: right;
            margin-top: 600px;
            // background-color: yellowgreen;
            img {
                position: fixed;
                margin-left: 50px;
                width: 60px;
                height: 80px;
                &:hover {
                    cursor: pointer;
                }
            }
        }

        // 头标
        .title-header {
            // position: absolute;
            background-color: rgba(92, 99, 94, 0.575);
            width: 100%;
            height: 30px;
            font-size: 13px;
            line-height: 30px;
            color: rgb(239, 224, 250);
            .location {
                // display: inline-block;
                float: left;
                width: 80px;
                height: 20px;
                // background-color: powderblue;
                margin-left: 90px;
                color: rgb(239, 224, 250);
            }
            ul {
                float: right;
                display: flex;
                margin-right: 65px;
                span {
                    margin-left: 10px;
                }
                li {
                    margin-left: 10px;
                    a {
                        color: rgb(239, 224, 250);
                        &:hover {
                            color: rgb(104, 100, 107);
                            border-bottom: rgb(52, 42, 53) 1px solid;
                        }
                    }
                }
            }
        }
        // 标题部分
        .nav-container {
            // position: absolute;
            width: 100%;
            height: 100px;
            line-height: 150px;

            // logo
            img {
                float: left;
                margin-top: 15px;
                margin-left: 40px;
                width: 160px;
                height: 80px;
            }
            // 导航
            ul {
                // position: relative;

                float: left;
                margin-top: 20px;
                margin-left: -64px;
                text-align: center;
                li {
                    position: relative;
                    float: left;
                    width: 80px;
                    height: 50px;
                    margin-right: 30px;
                    line-height: 53px;
                    .index {
                        color: #8b0eea;
                    }
                    a {
                        color: black;
                        &:hover {
                            color: #8b0eea;
                        }
                    }
                    ul {
                        position: absolute;
                        margin-left: 0px;
                        margin-top: 0px;
                        width: 100px;
                        height: 100px;
                        background-image: none;
                        z-index: 99;

                        li {
                            display: none;
                            &hover {
                                border: none;
                            }
                        }
                    }

                    &:hover {
                        border-bottom: 3px #8b0eea solid;
                        ul li {
                            display: block;
                            // background-color: rgb(237, 224, 238);
                            background-color: rgba(237, 226, 238,.5);

                            // a {
                            //     color: whitesmoke;
                            // }
                            /* x偏移量 | y偏移量 | 阴影颜色 */
                            /* x偏移量 | y偏移量 | 阴影颜色 */
                            // box-shadow: 60px -16px teal;

                            /* 任意数量的阴影，以逗号分隔 */
                            box-shadow: 3px 3px rgb(236, 224, 224), 0em 0 0.4em rgb(236, 232, 235);
                        }
                    }
                }
            }
            // 搜索框
            .search-container {
                float: left;
                display: inline-block;
                // display: flex;
                width: 255px;
                height: 32px;
                padding-top: 2px;
                margin-top: 30px;
                margin-left: 30px;
                // background-color: turquoise;
                border: #43384b 2px dotted;
                border-radius: 20px 20px;

                input {
                    float: left;
                    width: 210px;
                    height: 30px;
                    margin-left: 10px;
                    background-color: rgb(248, 223, 229);

                    // background-color: rgb(249, 250, 244);
                }
                button {
                    float: left;
                    width: 30px;
                    height: 30px;
                    margin-left: -40px;
                    background-color: rgb(248, 223, 229);

                    img {
                        width: 20px;
                        height: 20px;
                        margin-top: 2px;
                        &:hover {
                            cursor: pointer;
                            background-color: rgb(248, 241, 248);
                        }
                    }
                }
            }
        }
        //轮播图
        .swiper-container {
            .options {
                width: 125px;
                float: left;
                li {
                    width: 170px;
                    height: 55px;
                    // margin: 5px 0px;
                    text-align: center;
                    line-height: 55px;
                    background-color: rgba(240, 214, 234, 0.4);
                    // box-shadow: 3px 3px rgb(236, 223, 223), -1em 0 0.4em rgb(241, 231, 239);
                    box-shadow: 3px 3px rgb(236, 223, 223), 0 0 0.4em rgba(241, 231, 239,.4);
                  
                }
            }
            .swiper {
                // position: fixed;
                width: 80%;
                height: 500px;
                margin-left: 200px;
                // margin:0px auto;

                img {
                    width: 100%;
                    height: 500px;
                }
            }
            .which {
                width: 80%;
                text-align: center;
                ul {
                    display: flex;
                    width: 400px;
                    margin: 0 450px;
                    li {
                        margin-left: 5px;
                        margin-right: 5px;
                        width: 100px;

                        a {
                            color: rgb(72, 76, 77);
                            &:hover {
                                border-bottom: cornflowerblue 1px solid;
                                color: cornflowerblue;
                            }
                        }
                        span {
                            margin-left: 30px;
                        }
                    }
                }
            }
        }

        // 热卖品
        .hot-container {
            margin-top: 20px;
            padding-left: 10px;
            border-top: darkgray 2px dotted;
            // background-color: red;
            background-color: rgb(248, 223, 229);

            div {
                background-color: rgb(248, 223, 229);
                img {
                    margin-top: 20px;
                }
            }
            ul {
                display: flex;
                background-color: rgb(248, 223, 229);
                li {
                    margin-right: 20px;
                    background-color: rgb(248, 223, 229);
                }
            }
        }

        //商品展示
        .show-container {
            width: 100%;
            margin-top: 30px;

            // 商品展示区
            .product-list-wrapper {
                padding: 0 30px;
                .product {
                    float: left;
                    margin: 20px 42px;
                    padding: 3px;

                    button {
                        width: 150px;
                        height: 30px;
                        margin-left: 20px;
                        margin-top: 10px;
                        background-color: rgb(207, 120, 199);
                        color: azure;
                        cursor: pointer;
                    }
                    img {
                        width: 190px;
                        height: 200px;
                    }
                    div {
                        width: 190px;
                        height: 100px;

                        p {
                            margin-top: 15px;
                            font-family: 楷体;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 2;
                            overflow: hidden;

                            a {
                                &:hover {
                                    border-bottom: rgb(95, 110, 64) 2px solid;
                                }
                            }
                        }
                    }
                }
            }

            // 加载更多
            .more {
                width: 200px;
                height: 30px;
                margin: 50px 500px;
                color: whitesmoke;
                background-color: rgb(196, 17, 157);
                border-radius: 20% 20%;
                &:hover {
                    cursor: pointer;
                    color: rgb(23, 24, 21);
                }
            }
        }
    }
}
